Public Class ToolStripEx
    Inherits ToolStrip

    Public Sub New()
        MyBase.New()
        Me.InitializeComponent()
    End Sub


    Private Sub InitializeComponent()
        Dim objColorTable As New CustomProfessionalColorTable
        Dim objToolStripRenderer As New ToolStripProfessionalRenderer(objColorTable)

        objColorTable.FlatToolStrip = True
        objToolStripRenderer.RoundedEdges = False

        Me.Renderer = objToolStripRenderer
        Me.CanOverflow = False
        Me.GripStyle = ToolStripGripStyle.Hidden
    End Sub

End Class
